<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

</head>
<body>
    <div id="gg"></div>
</body>
<script>
    function HuMans() {
        this.foot = 2;
        this.clothing=["shksbk","fgsdhng","dgjhns"];
    }
    HuMans.prototype.getFoot=function () {
        return this.foot;
    }
    function Man() {
        HuMans.call(this);
        this.hand=1;
    }
    Man.prototype.getHand=function () {
        return this.hand;
    }
    Man.prototype=new HuMans();
    var yaoyao=new Man();
    yaoyao.clothing.push("coakt");
    alert(yaoyao.clothing)
    var zizi=new Man();
    alert(zizi.clothing);
//    alert("几只脚："+yaoyao.getFoot());
//    alert(yaoyao instanceof Man);
//    alert(yaoyao instanceof HuMans);
</script>
</html>